package com.frejoys.dao.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.frejoys.dao.entity.UserLevel;
import com.frejoys.dao.entity.UserLevelMoney;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface UserLevelMoneyMapper extends BaseMapper<UserLevelMoney> {


    @Select("select child_user_id,money from j_user_level_money where user_id = #{userId}")
    List<UserLevelMoney> childUserMoneyByUserId(@Param("userId")Long userId);
}
